package com.yangxk.kadmin.web.module.sample.service;

import com.yangxk.kadmin.common.base.BaseService;
import com.yangxk.kadmin.web.module.sample.form.AreaEditForm;
import com.yangxk.kadmin.web.module.sample.po.Area;
import com.yangxk.kadmin.web.module.sample.vo.AreaVo;
import java.util.List;

public interface AreaService extends BaseService<Area, Long>{

    List<AreaVo> queryAreaTree();

    long addArea(AreaEditForm form);

    long updateArea(AreaEditForm form);

    void deleteArea(long id);
}
